<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	    		xmlns:ui="http://java.sun.com/jsf/facelets"
	  			xmlns:h="http://java.sun.com/jsf/html"
	  			xmlns:f="http://java.sun.com/jsf/core"
                xmlns:sf="http://www.springframework.org/tags/faces"
                xmlns:p="http://primefaces.org/ui"
				template="/WEB-INF/layouts/standard.xhtml"
				>

<ui:define name="page">

    <h:form>  
     <p:lineChart id="filled" value="#{chartBean.categoryModel}" legendPosition="ne" fill="true"  
             title="Filled" style="height:300px;margin-top:20px" xaxisLabel="Year" yaxisLabel="Births" />  
  
	<p:lineChart id="stacked" value="#{chartBean.categoryModel}" legendPosition="ne" stacked="true" fill="true" 
             title="Stacked and Filled" style="height:300px;margin-top:20px" xaxisLabel="Year" yaxisLabel="Births" />
    </h:form>
</ui:define>
</ui:composition>